package com.lin.eat.dao;

import com.lin.eat.entry.GoodsComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface GoodsCommentMapper {

    List<GoodsComment> selectCommentByGid(@Param("g_id") String g_id);

    int addComment(GoodsComment goodsComment);

}
